/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ssm.changeunit.persistance;

import java.util.*;

/**
 *
 * @author 시리우스
 */
public abstract class AbstractChangeUnitDAO extends AbstractDAO {
    /**
     * 검색
     * 
     * @param changeUnitId
     * @return
     * @throws com.ssm.changeunit.persistance.PersistanceException
     */
    public abstract ChangeUnitDTO find(String changeUnitId) throws PersistanceException;
    
    /**
     * 리스트 전부 검색
     * 
     * @return
     * @throws com.ssm.changeunit.persistance.PersistanceException
     */
    public abstract List<ChangeUnitDTO> list() throws PersistanceException;
    
    /**
     * 삽입
     * 
     * @param tagDTO
     * @throws com.ssm.changeunit.persistance.PersistanceException
     */
    public abstract void insert(ChangeUnitDTO changeUnitDTO) throws PersistanceException;
    
    /**
     * 업데이트
     * 
     * @param tagDTO
     * @throws com.ssm.changeunit.persistance.PersistanceException
     */
    public abstract void update(ChangeUnitDTO changeUnitDTO) throws PersistanceException;
    
    /**
     * 삭제
     * 
     * @param tagName
     * @throws com.ssm.changeunit.persistance.PersistanceException
     */
    public abstract void delete(String changeUnitId) throws PersistanceException;
}
